Globally Governed Session Semantics
نویسندگان
چکیده
This paper proposes a bisimulation theory based on multiparty session types where achoreography specification governs the behaviour of session typed processes and their observer. Thebisimulation is defined with the observer cooperating with the observed process in order to formcomplete global session scenarios and usable for proving correctness of optimisations for globallycoordinating threads and processes. The induced bisimulation is strictly more fine-grained than thestandard session bisimulation. The difference between the governed and standard bisimulations onlyappears when more than two interleaved multiparty sessions exist. This distinct feature enables toreason real scenarios in the large-scale distributed system where multiple choreographic sessionsneed to be interleaved. The compositionality of the governed bisimilarity is proved through thesoundness and completeness with respect to the governed reduction-based congruence. Finally, itsusage is demonstrated by a thread transformation governed under multiple sessions in a real usecasein the large-scale cyberinfrustracture.
منابع مشابه
Coherence Generalises Duality: A Logical Explanation of Multiparty Session Types
Wadler introduced Classical Processes (CP), a calculus based on a propositions-as-types correspondence between propositions of classical linear logic and session types. Carbone et al. introduced Multiparty Classical Processes, a calculus that generalises CP to multiparty session types, by replacing the duality of classical linear logic (relating two types) with a more general notion of coherenc...
متن کاملCausally Consistent Reversible Choreographies
Under a reversible semantics, computation steps can be undone. is paper addresses the integration of reversible semantics into process languages for communication-centric systems, equipped with behavioral types. In prior work, we introduced a monitors-as-memories approach to seamlessly integrate reversible semantics into a process model in which concurrency is governed by session types (a clas...
متن کاملLearning a Semantic Space of Web Search via Session Data
In Web search, a user first comes up with an information need and issues an initial query. Then some retrieved URLs are clicked and other queries are issued if he/she is not satisfied. We advocate that Web search is governed by a hidden semantic space, and each involved element such as query and URL has its projection, i.e., as a vector, in this space. Each of above actions in the search proced...
متن کاملSession types for safe Web service orchestration
We address the general problem of interaction safety in Web service orchestrations. By considering an essential subset of the BPEL orchestration language, we define SeB, a session based style of this subset. We discuss the formal semantics of SeB and present its main properties. We take a new approach to address the formal semantics which is based on a translation into so-called control graphs....
متن کاملReversible Semantics in Session-based Concurrency
Much research has studied foundations for correct and reliable communication-centric systems. A salient approach to correctness uses session types to enforce structured communications; a recent approach to reliability uses reversible actions as a way of reacting to unanticipated events or failures. This note describes recent work that develops a simple observation: the machinery required to def...
متن کامل